import {PaginationType} from '@/type/paginationType'
export type systemDictAddType = {
  // 字典名称
  dict_name: string,
  // 字典类型
  dict_code: string,
  // 字典状态
  dict_status: number,
  // 备注
  remark: string,
  // 排序
  sort: number
}

export type systemDictQueryType = {
  dict_name: string,
  dict_code: string,
  dict_status: number,
  start_time: string,
  end_time: string
}

export type systemDictListType = {
  data: systemDictQueryType
} & PaginationType

export type systemDictListItemType = systemDictAddType & {
  id: number
  create_time: string,
  update_time: string,
}

export type systemDictIdType = {
  id:number
}

export type systemDictEditType = systemDictIdType & systemDictAddType

export type systemDictAllListType = {
  name: string
  value: number
  text: string
}
